package com.yesep.learn.design.creational.factory;

import com.yesep.learn.design.common.pojo.*;

public class CatFactory implements IAnimalFactoryMethod<Cat> {
    @Override
    public Cat createAnimal(String name) {
        return new Cat(name);
    }
}
